package terapeuta;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.Color;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class EI_Bezeroen_datuak_kontsultatu_sartu_NAN_1_3 extends JFrame {

	private JPanel contentPane;
	private JTextField textField;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					EI_Bezeroen_datuak_kontsultatu_sartu_NAN_1_3 frame = new EI_Bezeroen_datuak_kontsultatu_sartu_NAN_1_3();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public EI_Bezeroen_datuak_kontsultatu_sartu_NAN_1_3() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 492, 232);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblIdazkariarenDatuakKontsultatu = new JLabel("BEZERO BATEN INFORMAZIOA  KONTSULTATU:");
		lblIdazkariarenDatuakKontsultatu.setForeground(Color.BLACK);
		lblIdazkariarenDatuakKontsultatu.setFont(new Font("Tahoma", Font.BOLD, 14));
		lblIdazkariarenDatuakKontsultatu.setBounds(10, 11, 389, 14);
		contentPane.add(lblIdazkariarenDatuakKontsultatu);
		
		JLabel lblIdazkariarenNanZenbakia = new JLabel("Bezeroaren NAN zenbakia");
		lblIdazkariarenNanZenbakia.setBounds(22, 47, 160, 14);
		contentPane.add(lblIdazkariarenNanZenbakia);
		
		textField = new JTextField();
		textField.setBounds(192, 44, 134, 20);
		contentPane.add(textField);
		textField.setColumns(10);
		
		JButton btnKontsultsutatu = new JButton("Kontsultsutatu");
		btnKontsultsutatu.setBounds(67, 115, 126, 23);
		contentPane.add(btnKontsultsutatu);
		
		JButton btnAtzera = new JButton("Atzera");
		btnAtzera.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				EI_Terapeuten_pantaila_1 bat=new EI_Terapeuten_pantaila_1();
				bat.setVisible(true);
				EI_Bezeroen_datuak_kontsultatu_sartu_NAN_1_3.this.setVisible(false);}
			});
		btnAtzera.setBounds(202, 115, 112, 23);
		contentPane.add(btnAtzera);
		
		JLabel label = new JLabel("Adib: 11111111v");
		label.setBounds(339, 47, 94, 14);
		contentPane.add(label);
	}
}
